# Config File for User-defined Instant Mappings

# We assume that the controls on your MIDI controller
# send CCs (except for pads). All controls that do not have
# an explicit channel setting are expected to use the
# global channel. CCs & Notes are counted from 0-127
# and channels from 0-15.

[Globals]
# The channel that the controller should send on
GlobalChannel: 0
# If your controller is connected via USB, replace ControllerName
# with the name of the respective port. Live will then try to 
# recognize the ports for you when you select your Instant-Mappings
InputName: Arturia Keylab 49/61 
OutputName: Arturia Keylab 49/61
# If your controller has pads that send notes, you can use them to
# play the visible pads in your DrumRacks. Just replace the -1 for
# the note (and channel) of the respective pad. The arrangement of
# the pads in the DrumRacks is as follows:
#   1     2     3     4
#   5     6     7     8
#   9    10    11    12  
#  13    14    15    16
# (If you leave the channel of a pad at -1, Live will assume that
#  the pad uses the global channel)
Pad1Note: 48
Pad2Note: 49
Pad3Note: 50
Pad4Note: 51
Pad5Note: 44
Pad6Note: 45
Pad7Note: 46
Pad8Note: 47
Pad9Note: 40
Pad10Note: 41
Pad11Note: 42
Pad12Note: 43
Pad13Note: 36
Pad14Note: 37
Pad15Note: 38
Pad16Note: 39
Pad1Channel: 9
Pad2Channel: 9
Pad3Channel: 9
Pad4Channel: 9
Pad5Channel: 9
Pad6Channel: 9
Pad7Channel: 9
Pad8Channel: 9
Pad9Channel: 9
Pad10Channel: 9
Pad11Channel: 9
Pad12Channel: 9
Pad13Channel: 9
Pad14Channel: 9
Pad15Channel: 9
Pad16Channel: 9

[DeviceControls]
# The Encoders will control the device parameters (you can also
# use knobs or sliders). Replace the -1's with the CCs sent by 
# the respective controls on your controller. You can also set
# the channel for each controller if it differs from the global
# channel (if you leave the channel of an encoder at -1, Live
# will assume that the encoder uses the global channel).
Encoder1: 35
Encoder2: 36
Encoder3: 37
Encoder4: 38
Encoder5: 40
Encoder6: 41
Encoder7: 42
Encoder8: 43
EncoderChannel1: 0
EncoderChannel2: 0
EncoderChannel3: 0
EncoderChannel4: 0
EncoderChannel5: 0
EncoderChannel6: 0
EncoderChannel7: 0
EncoderChannel8: 0
# Enter the respective map mode for the encoders here. The following
# map modes are available:
# - Absolute
# - Absolute14Bit
# - LinearSignedBit 
# - LinearSignedBit2
# - LinearTwoCompliment
# - LinearBinaryOffset
# - AccelSignedBit 
# - AccelSignedBit2
# - AccelTwoCompliment
# - AccelBinaryOffset
# Consult the controller's documentation to find out which mode to use.
EncoderMapMode: AccelBinaryOffset
# Buttons used here are expected to not be toggles (i.e., sending 
# value 0 every second time you press it).
Bank1Button: -1
Bank2Button: -1
Bank3Button: -1
Bank4Button: -1
Bank5Button: -1
Bank6Button: -1
Bank7Button: -1
Bank8Button: -1
NextBankButton: -1
PrevBankButton: -1
LockButton: -1

[MixerControls]
# Again enter the appropriate CCs for the respective controls.
# If all sliders use the global channel to send their data,
# you can leave the channels at -1. You can, of course, use
# encoders or knobs instead of sliders.
VolumeSlider1: 67
VolumeSlider2: 68
VolumeSlider3: 69
VolumeSlider4: 70
VolumeSlider5: 87
VolumeSlider6: 88
VolumeSlider7: 89
VolumeSlider8: 90
Slider1Channel: 0
Slider2Channel: 0
Slider3Channel: 0
Slider4Channel: 0
Slider5Channel: 0
Slider6Channel: 0
Slider7Channel: 0
Slider8Channel: 0
MasterVolumeSlider: 92
MasterSliderChannel: 0
Send1Knob1: -1
Send1Knob2: -1
Send1Knob3: -1
Send1Knob4: -1
Send1Knob5: -1
Send1Knob6: -1
Send1Knob7: -1
Send1Knob8: -1
Send2Knob1: -1
Send2Knob2: -1
Send2Knob3: -1
Send2Knob4: -1
Send2Knob5: -1
Send2Knob6: -1
Send2Knob7: -1
Send2Knob8: -1
TrackArmButton1: 22
TrackArmButton2: 23
TrackArmButton3: 24
TrackArmButton4: 25
TrackArmButton5: 26
TrackArmButton6: 27
TrackArmButton7: 28
TrackArmButton8: 29
VolumeMapMode: Absolute
SendsMapMode: Absolute

[TransportControls]
# The transport buttons are also expected not to be toggles.
StopButton: 51
PlayButton: 54
RecButton: 50
LoopButton: 55
RwdButton: 53
FfwdButton: 52


